//class KeyCode
    
    export  class KeyCode
    {
       

        /* internal  */static initKeyName(): void
        {
            if (KeyCode._keyNameMap == null) 
            {
                KeyCode._keyNameMap = new Map<any, any> /* flash.utils.Dictionary */();
                KeyCode._keyNameMap[48] = "0";
                KeyCode._keyNameMap[49] = "1";
                KeyCode._keyNameMap[50] = "2";
                KeyCode._keyNameMap[51] = "3";
                KeyCode._keyNameMap[52] = "4";
                KeyCode._keyNameMap[53] = "5";
                KeyCode._keyNameMap[54] = "6";
                KeyCode._keyNameMap[55] = "7";
                KeyCode._keyNameMap[56] = "8";
                KeyCode._keyNameMap[57] = "9";
                KeyCode._keyNameMap[65] = "KeyCode.A";
                KeyCode._keyNameMap[66] = "KeyCode.B";
                KeyCode._keyNameMap[67] = "KeyCode.C";
                KeyCode._keyNameMap[68] = "KeyCode.D";
                KeyCode._keyNameMap[69] = "KeyCode.E";
                KeyCode._keyNameMap[70] = "KeyCode.F";
                KeyCode._keyNameMap[71] = "KeyCode.G";
                KeyCode._keyNameMap[72] = "KeyCode.H";
                KeyCode._keyNameMap[73] = "KeyCode.I";
                KeyCode._keyNameMap[74] = "KeyCode.J";
                KeyCode._keyNameMap[75] = "KeyCode.K";
                KeyCode._keyNameMap[76] = "KeyCode.L";
                KeyCode._keyNameMap[77] = "KeyCode.M";
                KeyCode._keyNameMap[78] = "KeyCode.N";
                KeyCode._keyNameMap[79] = "KeyCode.O";
                KeyCode._keyNameMap[80] = "KeyCode.P";
                KeyCode._keyNameMap[81] = "KeyCode.Q";
                KeyCode._keyNameMap[82] = "KeyCode.R";
                KeyCode._keyNameMap[83] = "KeyCode.S";
                KeyCode._keyNameMap[84] = "KeyCode.T";
                KeyCode._keyNameMap[85] = "KeyCode.U";
                KeyCode._keyNameMap[86] = "KeyCode.V";
                KeyCode._keyNameMap[87] = "KeyCode.W";
                KeyCode._keyNameMap[88] = "KeyCode.X";
                KeyCode._keyNameMap[89] = "KeyCode.Y";
                KeyCode._keyNameMap[90] = "KeyCode.Z";
                KeyCode._keyNameMap[8] = "backSpace";
                KeyCode._keyNameMap[32] = "space";
                KeyCode._keyNameMap[13] = "enter";
                KeyCode._keyNameMap[27] = "esc";
                KeyCode._keyNameMap[17] = "ctrl";
                KeyCode._keyNameMap[16] = "shift";
                KeyCode._keyNameMap[37] = "KeyCode.LEFT";
                KeyCode._keyNameMap[38] = "KeyCode.UP";
                KeyCode._keyNameMap[39] = "KeyCode.RIGHT";
                KeyCode._keyNameMap[40] = "KeyCode.DOWN";
                KeyCode._keyNameMap[112] = "KeyCode.F1";
                KeyCode._keyNameMap[113] = "KeyCode.F2";
                KeyCode._keyNameMap[114] = "KeyCode.F3";
                KeyCode._keyNameMap[115] = "KeyCode.F4";
                KeyCode._keyNameMap[116] = "KeyCode.F5";
                KeyCode._keyNameMap[117] = "KeyCode.F6";
                KeyCode._keyNameMap[118] = "KeyCode.F7";
                KeyCode._keyNameMap[119] = "KeyCode.F8";
                KeyCode._keyNameMap[120] = "KeyCode.F9";
                KeyCode._keyNameMap[121] = "KeyCode.F10";
                KeyCode._keyNameMap[122] = "KeyCode.F11";
                KeyCode._keyNameMap[123] = "KeyCode.F12";
                KeyCode._keyNameMap[9] = "tab";
            }
            return;
        }

        public static getKeyName(arg1: uint): string
        {
            KeyCode.initKeyName();
            return KeyCode._keyNameMap[arg1];
        }

        public static /* const */N2: uint=50;

        public static /* const */N3: uint=51;

        public static /* const */N4: uint=52;

        public static /* const */N5: uint=53;

        public static /* const */N6: uint=54;

        public static /* const */N7: uint=55;

        public static /* const */N8: uint=56;

        public static /* const */N9: uint=57;

        public static /* const */A: uint=65;

        public static /* const */B: uint=66;

        public static /* const */C: uint=67;

        public static /* const */D: uint=68;

        public static /* const */E: uint=69;

        public static /* const */F: uint=70;

        public static /* const */G: uint=71;

        public static /* const */H: uint=72;

        public static /* const */I: uint=73;

        public static /* const */J: uint=74;

        public static /* const */K: uint=75;

        public static /* const */L: uint=76;

        public static /* const */M: uint=77;

        public static /* const */N: uint=78;

        public static /* const */O: uint=79;

        public static /* const */P: uint=80;

        public static /* const */Q: uint=81;

        public static /* const */R: uint=82;

        public static /* const */S: uint=83;

        public static /* const */T: uint=84;

        public static /* const */U: uint=85;

        public static /* const */V: uint=86;

        public static /* const */W: uint=87;

        public static /* const */X: uint=88;

        public static /* const */Y: uint=89;

        public static /* const */Z: uint=90;

        public static /* const */BackSpace: uint=8;

        public static /* const */SPACE: uint=32;

        public static /* const */ENTER: uint=13;

        public static /* const */ESCAPE: uint=27;

        public static /* const */CONTROL: uint=17;

        public static /* const */SHIFT: uint=16;

        public static /* const */LEFT: uint=37;

        public static /* const */UP: uint=38;

        public static /* const */RIGHT: uint=39;

        public static /* const */DOWN: uint=40;

        public static /* const */F1: uint=112;

        public static /* const */N0: uint=48;

        public static /* const */F3: uint=114;

        public static /* const */F4: uint=115;

        public static /* const */F5: uint=116;

        public static /* const */F6: uint=117;

        public static /* const */F7: uint=118;

        public static /* const */F8: uint=119;

        public static /* const */F9: uint=120;

        public static /* const */F2: uint=113;

        public static /* const */F11: uint=122;

        public static /* const */F12: uint=123;

        public static /* const */TAB: uint=9;

        public static /* const */CTRL: uint=100000;

        public static /* const */SHIFT_NUM: uint=1000000;

        public static /* const */N1: uint=49;

        public static /* const */F10: uint=121;

        private static /* var */_keyNameMap: Map<any, any> /* flash.utils.Dictionary */;
    }
